package ch.il07.converter.presentation.beans.entities;

public class UnitBean {
	private String unitId = null;
	private String name = null;
	private String owner = null;
	private String measurandName = null;
	private Double shift = null;
	private String symbol = null;
	private Double divisor = null;
	private boolean selected = false;
	
	public UnitBean(String name, String owner, Double shift, String symbol, Double divisor) {
		this.name = name;
		this.owner = owner;
		this.shift = shift;
		this.symbol = symbol;
		this.divisor = divisor;
	}
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the owner
	 */
	public String getOwner() {
		return owner;
	}
	/**
	 * @param owner the owner to set
	 */
	public void setOwner(String owner) {
		this.owner = owner;
	}
	/**
	 * @return the measurandName
	 */
	public String getMeasurandName() {
		return measurandName;
	}
	/**
	 * @param measurandName the measurandName to set
	 */
	public void setMeasurandName(String measurandName) {
		this.measurandName = measurandName;
	}
	/**
	 * @return the symbol
	 */
	public String getSymbol() {
		return symbol;
	}
	/**
	 * @param symbol the symbol to set
	 */
	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}

	/**
	 * @return the shift
	 */
	public Double getShift() {
		return shift;
	}

	/**
	 * @param shift the shift to set
	 */
	public void setShift(Double shift) {
		this.shift = shift;
	}

	/**
	 * @return the divisor
	 */
	public Double getDivisor() {
		return divisor;
	}

	/**
	 * @param divisor the divisor to set
	 */
	public void setDivisor(Double divisor) {
		this.divisor = divisor;
	}

	/**
	 * @return the selected
	 */
	public boolean isSelected() {
		return selected;
	}

	/**
	 * @param selected the selected to set
	 */
	public void setSelected(boolean selected) {
		this.selected = selected;
	}

	/**
	 * @return the unitId
	 */
	public String getUnitId() {
		return unitId;
	}

	/**
	 * @param unitId the unitId to set
	 */
	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}
}